package by.bsu.scs.model;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class DisciplineInstructor implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private int disciplineInstructorId;
	private User instructor;
	private Discipline discipline;
	private Set<DisciplineTask> disciplineTask = new HashSet<DisciplineTask>(0);
	
	public DisciplineInstructor(){};
		
	public DisciplineInstructor(User instructor, Discipline discipline) {
		super();
		this.instructor = instructor;
		this.discipline = discipline;
	}
	
	public DisciplineInstructor(int disciplineInstructorId, User instructor,
			Discipline discipline) {
		super();
		this.disciplineInstructorId = disciplineInstructorId;
		this.instructor = instructor;
		this.discipline = discipline;
	}

	public DisciplineInstructor(User instructor, Discipline discipline, Set <DisciplineTask> disciplineTask) {
			this.instructor = instructor;
			this.setDiscipline(discipline);
			this.disciplineTask = disciplineTask;
		}
	
	public User getInstructor() {
		return this.instructor;
	}

	public void setInstructor(User instructor) {
		this.instructor = instructor;
	}
	
	public Set <DisciplineTask> getDisciplineTask() {
		return this.disciplineTask;
	}

	public void setDisciplineTask(Set <DisciplineTask> disciplineTask) {
		this.disciplineTask = disciplineTask;
	}

	public void setDiscipline(Discipline discipline) {
		this.discipline = discipline;
	}

	public Discipline getDiscipline() {
		return discipline;
	}

	public void setDisciplineInstructorId(int disciplineInstructorId) {
		this.disciplineInstructorId = disciplineInstructorId;
	}

	public int getDisciplineInstructorId() {
		return disciplineInstructorId;
	}
}
